Package-level declarations

Types

Link copied to clipboard
class TSAuthenticationException(message: String = "The access token is invalid or expired.") : Exception

Thrown when the access token provided to a collect-and-upload operation is rejected by the server. Maps to HTTP 401/403 responses — indicates the token is invalid, expired, or missing permissions.

Link copied to clipboard
class TSCollectionTimedOutException(message: String = "Signal collection timed out.") : Exception

Thrown by com.futurae.sdk.ts.TrustSignalsSDK.collect and com.futurae.sdk.ts.TrustSignalsSDK.collectAndUpload when the collection deadline fires and every long-running collector (location, Wi-Fi scan, BLE scan, nearby devices, BLE peripherals) timed out — i.e. no signal data was gathered at all.

Link copied to clipboard
class TSLegacyScheduleException(message: String = "This scheduled collection was created by an earlier SDK version and is no longer " + "supported, so it has been cancelled. Call scheduleCollections again with a complete " + "TSCredentials to resume collections.") : Exception

Delivered to the handler registered via com.futurae.sdk.ts.TrustSignalsSDK.registerErrorHandler when a scheduled collection created by an earlier SDK version runs after an upgrade.

Link copied to clipboard
class TSNotInitializedException(message: String = "TrustSignalsSDK not initialized — call initialize() first.") : Exception

Thrown when an SDK method is called before com.futurae.sdk.ts.TrustSignalsSDK.initialize has been called.

Link copied to clipboard

Thrown by com.futurae.sdk.ts.TrustSignalsSDK.collectAndUpload when one or more account uploads fail.

Link copied to clipboard

Thrown when the server received an upload but rejected it with a non-authentication HTTP error (any 4xx except 401/403, or 5xx). Authentication failures are reported as TSAuthenticationException instead.

Link copied to clipboard

Thrown when an upload could not reach the server due to a network or IO failure.